package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * oa系统相关配置
 * 
 * @author lxy
 */
@Component
@ConfigurationProperties(prefix = "oa")
public class OaConfig
{
    /** 应用标识 */
    private String appKey;

    /** OA服务所在测试地址 */
    private String serverUrl;

    /** 启用签名 */
    private Boolean sign;

    /** 事件标识 */
    private String eventKey;

    /** 流程ID(访客) */
    private String userWorkflowId;

    /** 流程ID(车辆) */
    private String carWorkflowId;

    /** 流程ID(违章) */
    private String illegalWorkflowId;

    /** 流程ID(过磅超时) */
    private String timeoutWorkflowId;

    /** 车辆随车物品表 */
    private String flowTableDBName;

    /** 车辆随车人员表 */
    private String userTableDBName;

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getServerUrl() {
        return serverUrl;
    }

    public void setServerUrl(String serverUrl) {
        this.serverUrl = serverUrl;
    }

    public Boolean getSign() {
        return sign;
    }

    public void setSign(Boolean sign) {
        this.sign = sign;
    }

    public String getEventKey() {
        return eventKey;
    }

    public void setEventKey(String eventKey) {
        this.eventKey = eventKey;
    }

    public String getUserWorkflowId() {
        return userWorkflowId;
    }

    public void setUserWorkflowId(String userWorkflowId) {
        this.userWorkflowId = userWorkflowId;
    }

    public String getCarWorkflowId() {
        return carWorkflowId;
    }

    public void setCarWorkflowId(String carWorkflowId) {
        this.carWorkflowId = carWorkflowId;
    }

    public String getFlowTableDBName() {
        return flowTableDBName;
    }

    public void setFlowTableDBName(String flowTableDBName) {
        this.flowTableDBName = flowTableDBName;
    }

    public String getUserTableDBName() {
        return userTableDBName;
    }

    public void setUserTableDBName(String userTableDBName) {
        this.userTableDBName = userTableDBName;
    }

    public String getIllegalWorkflowId() {
        return illegalWorkflowId;
    }

    public void setIllegalWorkflowId(String illegalWorkflowId) {
        this.illegalWorkflowId = illegalWorkflowId;
    }

    public String getTimeoutWorkflowId() {
        return timeoutWorkflowId;
    }

    public void setTimeoutWorkflowId(String timeoutWorkflowId) {
        this.timeoutWorkflowId = timeoutWorkflowId;
    }
}
